package com.ruoyi.APPMS.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.APPMS.domain.Purchasevehicle;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 购买车辆Mapper接口
 *
 * @author wanghaoyu
 * @date 2023-07-03
 */
@Repository
public interface PurchasevehicleMapper extends BaseMapper<Purchasevehicle> {
    List<Purchasevehicle> list(Purchasevehicle purchasevehicle);

    Purchasevehicle listByid(Long vehicleid);

    int createOrder1(Purchasevehicle purchasevehicle);

    int createOrder2(Purchasevehicle purchasevehicle);
}
